package com.study.spmongodb.wwj.thread2.char05;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/7 21:41
 */
public class Client {
    public static void main(String[] args) {


        final Gate gate = new Gate();
        final User user = new User("Baobao", "Beijing", gate);
        final User user2 = new User("ShangLao", "Shanghai", gate);
        final User user3 = new User("GUAN", "GuangZhou", gate);

        user.start();
        user2.start();
        user3.start();
    }
}
